const env = require('../config.js').env;
const ENV = {
	development: 'http://applet.skynovo.com', //开发环境
	bendi: 'http://localhost:8081', //本地环境
	release: 'https://adnike.baimq.top', //测试环境
	yanshi: 'https://yanshi-retail.skynovo.com', //演示环境
	beta: 'https://lsbeta.skynovo.com', //beta环境
	production: 'https://retail.skynovo.com' //生产环境https://weixin.skynovo.com,https://retail.skynovo.com
};

const Apis = {
	h5URL: `${ENV[env]}/wechat`,//本地地址`http://localhost:8080/mobile`，线上地址`${ENV[env]}/wechat`
	upload: `${ENV[env]}/front/upload/upload.do`,
    download: `${ENV[env]}/front/upload/download.do?fileName=`,
    login: `${ENV[env]}/weixin/xcxlogin.do`,
    addAppra: `${ENV[env]}/front/order/add.do`,
    updateBC: `${ENV[env]}/front/order/updateBC.do`,
    pageList: `${ENV[env]}/front/order/pageList.do`,
    getAppra: `${ENV[env]}/front/order/get.do`,
    getByOuterid: `${ENV[env]}/front/order/getByOuterid.do`,
    getAllArticle: `${ENV[env]}/front/category/getAll.do`,
    getArticleDetail: `${ENV[env]}/front/category/get.do`,
    // login: `https://lstest.skynovo.com/User/login`,
};
module.exports = Apis;
